import Cookie from 'js-cookie'
const areaCode = Cookie.get('areaCode');

let generateState = () => {
  return {
    pageTitle: '',
    theme: 'default',
    splashPage: false,
    menuVisible: false,
    snackbar: false,
    snackbarText: '',
    snackbarColor: 'grey darken-4',
    areaCode,
    roomInfo: {
      roomId: 0,
      ruleType: '',
    },
    // 代理详细信息
    agentItem: null,
    playerItem: {},
    clubItem: {},
    progress: false
  }
}
export default generateState